import request from '@/router/axios';

// 故障发生统计list
export const getList = (current, size, params) => {
  return request({
    url: '/api/hg-equipment/repair/task/overhaulAssistant',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

// 故障发生统计饼图数据
export const getPieData = (params) => {
  return request({
    url: '/api/hg-equipment/repair/task/overhaulAssistant',
    method: 'get',
    params: {
      ...params
    }
  })
}